home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gmbtoggle, gKnobSprite, gSendMovie, gCurrentLocation
- puppetSprite(44, 1)
- gCursorReady = 1
- gMagCursor = "magCursor"
- gCurrentLocation = 8
- puppetSound(0)
- gmbtoggle = 1
- gSendMovie = "08r"
- qtChan = 35
- sprite(qtChan).volume = 256
- initGlobals()
- gKnobSprite = 17
- setUpKnob()
- set the mouseDownScript to EMPTY
- set the mouseUpScript to EMPTY
- if gsearchOn = 1 then
- sprite(6).visible = 1
- else
- sprite(6).visible = 0
- end if
- end
-
- on toggleswitch theSound
- global gmbtoggle
- channel = the clickOn
- puppetSprite(channel, 1)
- if theSound <> "none" then
- puppetSound(theSound)
- end if
- theCast = cast(the castNum of sprite channel).name
- if gmbtoggle = 1 then
- set the castNum of sprite channel to the number of member (theCast & "B")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- end repeat
- set the castNum of sprite channel to the number of member (theCast & "C")
- updateStage()
- else
- set the castNum of sprite channel to the number of member (theCast & "D")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- end repeat
- set the castNum of sprite channel to the number of member "book"
- updateStage()
- end if
- if gmbtoggle = 1 then
- gmbtoggle = 2
- else
- gmbtoggle = 1
- end if
- end
-
- on mbspritereset
- global gmbtoggle
- gmbtoggle = 1
- puppetSprite(28, 0)
- end
-
- on idle
- global gCursorReady, gStart8Movie
- if gCursorReady = 1 then
- cursor(200)
- checkCursors()
- set the locH of sprite 44 to the mouseH
- set the locV of sprite 44 to the mouseV
- updateStage()
- if the castNum of sprite 36 and (sprite(36).movieRate = 0) then
- sprite(36).movieRate = 1
- end if
- end if
- end
-
- on checkCursors
- global gMagCursor
- set the castNum of sprite 44 to the number of member "curs1"
- if the castNum of sprite 8 and rollOver(8) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- repeat with i = 9 to 12
- if rollOver(i) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- end repeat
- repeat with i = 14 to 21
- if the castNum of sprite i and rollOver(i) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- end repeat
- repeat with i = 24 to 28
- if the castNum of sprite i and rollOver(i) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- end repeat
- if the castNum of sprite 39 and rollOver(39) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- repeat with i = 40 to 42
- if rollOver(i) then
- set the castNum of sprite 44 to the number of member "hotCursor"
- end if
- end repeat
- end
-